package com.dgz.friend.service.user;

import com.dgz.common.core.domain.R;
import com.dgz.common.core.domain.vo.LoginUserVo;
import com.dgz.friend.domain.user.dto.UserDTO;
import com.dgz.friend.domain.user.dto.UserUpdateDTO;
import com.dgz.friend.domain.user.vo.UserVO;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2025/04/24/15:01
 * @Description:
 */
@Service
public interface IUserService {
    boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    boolean logout(String token);

    R<LoginUserVo> info(String token);

    UserVO detail();

    int edit(UserUpdateDTO userUpdateDTO);

    int updateHeadImage(String headImage);
}
